package com.example;

import javafx.application.Application;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@MapperScan("com.example.dao")
public class MovieTicketSystemApplication {
    // 输出日志文件
    private static final Logger logger = LoggerFactory.getLogger(Application.class);

    public static void main(String[] args) {
        SpringApplication.run(MovieTicketSystemApplication.class, args);
        logger.warn("请关注分布式第九小组的联系方试！");
        logger.warn("项目启动后请访问：http://localhost:8888/front/index.html");
        logger.warn("登录账号：admin   登录密码：12345");
    }

}
